package com.travelparadise.service;

import java.util.Collection;
import java.util.List;

import com.travelparadise.dao.VilleDao;
import com.travelparadise.domain.Ville;

public class VilleService {
	
	private VilleDao villeDao;

	public Collection<Ville> getAllVilles(){
		return villeDao.getAllVilles();
		
	}
	public Ville getById(int id){
		Ville v = villeDao.getById(id);
		return v;
	}
	
	public VilleDao getVilleDao() {
		return villeDao;
	}

	public void setVilleDao(VilleDao villeDao) {
		this.villeDao = villeDao;
	}
	
	
}
